package com.wingsfrog.puzzle.modules.dao;

import com.wingsfrog.puzzle.modules.entity.Orders;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

public interface OrdersDao extends CrudRepository<Orders,Integer>{
    @Query("select o from Orders o where o.orderNo=?1")
    public Orders findByOrderNo(String orderNo);
}
